/**
 * 
 */
package com.jquery.ui.tags.html.tab;

import com.jquery.ui.core.base.BaseBodyTag;

import com.jquery.ui.core.bean.UIBean;
import com.jquery.ui.tags.beans.html.TabHtmlUI;

/**
 * @author linyajun
 * 
 * @date	2013-9-24
 * @description   
 */
public class TabTag extends BaseBodyTag {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6922544598970092063L;
	
	private String title;

	
	@Override
	public String getEndTemplate() {
		
		return "public-div-end.ftl";
	}

	
	@Override
	public String getStartTemplate() {
		
		return "public-div-start.ftl";
	}

	
	@Override
	public UIBean getUiBean() {
		TabHtmlUI ui=new TabHtmlUI();
		ui.setTitle(title);
		return ui;
	}


	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}


	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	
	

}
